#-------------------------------------------------
#
# Project created by QtCreator 2011-05-28T17:53:22
#
#-------------------------------------------------

QT      += core gui opengl xml network

TARGET = Viewer
TEMPLATE = app


SOURCES += main.cpp\
    ViewerMainWindow.cpp \
    Viewer.cpp \
    Sphere.cpp \
    Element.cpp \
    Cube.cpp \
    Plane.cpp \
    MeshObject.cpp \
    Box.cpp \
    ../../common/ViewerProtocolFactory.cpp \
    NetworkThread.cpp \
    ../../common/TcpSocketViewerProtocol.cpp \
    ../../common/ElementData.cpp \
    ../../common/QSocketViewerProtocol.cpp \
    ../../common/SdlSocketViewerProtocol.cpp \
	../../common/Logger.cpp

#Edit: the qglviewer include path
INCLUDEPATH += QGLViewer ../../common /usr/include/SDL

HEADERS  += ViewerMainWindow.h \
    Viewer.h \
    Sphere.h \
    Element.h \
    Cube.h \
    Plane.h \
    ViewerProtocolFactory.h \
    NetworkThread.h \
    ../../common/ElementData.h \
    ../../common/elementconfig.h \
    MeshObject.h

#Edit: the qglviewer path
LIBS += -lSDL -lSDL_net -lglut -L/home/q/virtualrobotics/src/viewer/Viewer/QGLViewer -lQGLViewer

FORMS    += ViewerMainWindow.ui
